package com.ql.boot.dubbo;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Created by gs on 2017/5/19 0019.
 */
@SpringBootApplication
@EnableAutoConfiguration
//@ComponentScan(basePackages = "com.ql.boot.dubbo", lazyInit = true)
public class WebStarter extends WebMvcConfigurerAdapter {
    public static void main(String[] args) {
        new SpringApplicationBuilder(WebStarter.class).web(true).run(args);
    }
}
